Optimal. Leaf size=127 \[ \frac{(e x)^{m+1} (A b-a B) \, _2F_1\left (1,\frac{m+1}{n};\frac{m+n+1}{n};-\frac{b x^n}{a}\right )}{a e (m+1) (b c-a d)}+\frac{(e x)^{m+1} (B c-A d) \, _2F_1\left (1,\frac{m+1}{n};\frac{m+n+1}{n};-\frac{d x^n}{c}\right )}{c e (m+1) (b c-a d)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.144056, antiderivative size = 127, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 2, integrand size = 31, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.065, Rules used = {597, 364} \[ \frac{(e x)^{m+1} (A b-a B) \, _2F_1\left (1,\frac{m+1}{n};\frac{m+n+1}{n};-\frac{b x^n}{a}\right )}{a e (m+1) (b c-a d)}+\frac{(e x)^{m+1} (B c-A d) \, _2F_1\left (1,\frac{m+1}{n};\frac{m+n+1}{n};-\frac{d x^n}{c}\right )}{c e (m+1) (b c-a d)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 597
Rule 364
Rubi steps
\begin{align*} \int \frac{(e x)^m \left (A+B x^n\right )}{\left (a+b x^n\right ) \left (c+d x^n\right )} \, dx &=\int \left (\frac{(A b-a B) (e x)^m}{(b c-a d) \left (a+b x^n\right )}+\frac{(B c-A d) (e x)^m}{(b c-a d) \left (c+d x^n\right )}\right ) \, dx\\ &=\frac{(A b-a B) \int \frac{(e x)^m}{a+b x^n} \, dx}{b c-a d}+\frac{(B c-A d) \int \frac{(e x)^m}{c+d x^n} \, dx}{b c-a d}\\ &=\frac{(A b-a B) (e x)^{1+m} \, _2F_1\left (1,\frac{1+m}{n};\frac{1+m+n}{n};-\frac{b x^n}{a}\right )}{a (b c-a d) e (1+m)}+\frac{(B c-A d) (e x)^{1+m} \, _2F_1\left (1,\frac{1+m}{n};\frac{1+m+n}{n};-\frac{d x^n}{c}\right )}{c (b c-a d) e (1+m)}\\ \end{align*}
Mathematica [A] time = 0.12826, size = 102, normalized size = 0.8 \[ \frac{x (e x)^m \left ((a B c-A b c) \, _2F_1\left (1,\frac{m+1}{n};\frac{m+n+1}{n};-\frac{b x^n}{a}\right )+a (A d-B c) \, _2F_1\left (1,\frac{m+1}{n};\frac{m+n+1}{n};-\frac{d x^n}{c}\right )\right )}{a c (m+1) (a d-b c)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.676, size = 0, normalized size = 0. \begin{align*} \int{\frac{ \left ( ex \right ) ^{m} \left ( A+B{x}^{n} \right ) }{ \left ( a+b{x}^{n} \right ) \left ( c+d{x}^{n} \right ) }}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (B x^{n} + A\right )} \left (e x\right )^{m}}{{\left (b x^{n} + a\right )}{\left (d x^{n} + c\right )}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{{\left (B x^{n} + A\right )} \left (e x\right )^{m}}{b d x^{2 \, n} + a c +{\left (b c + a d\right )} x^{n}}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (B x^{n} + A\right )} \left (e x\right )^{m}}{{\left (b x^{n} + a\right )}{\left (d x^{n} + c\right )}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]